package cn.kgc.service.impl;
/*
 * @Author wangchangsheng
 * @Date 2023/5/26
 * @PackageName:cn.kgc.service.impl
 * @ClassName: CarServiceRecordServiceimpl
 * @Description: TODO
 */


import cn.kgc.bean.pojo.CarService;
import cn.kgc.bean.pojo.CarServiceRecord;
import cn.kgc.mapper.CarServiceRecordMapper;
import cn.kgc.service.CarServiceRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("carServiceRecordService")
public class CarServiceRecordServiceimpl implements CarServiceRecordService {

    @Resource
    CarServiceRecordMapper carServiceRecordMapper;



    @Override
    public boolean addRecord(CarServiceRecord carServiceRecord) {
        int asd = carServiceRecordMapper.addRecord(carServiceRecord);
        if (asd>0){
            return  true;
        }
        return false;
    }
}
